<h:panelGrid xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:t="http://myfaces.apache.org/tomahawk" id="pnlTherapyBasicInfo"
	columns="2" width="100%" columnClasses="width30,width70">

	<p:dataList value="#{evokPatientTherapyArchiveBean.therapyList}" var="t">  
		<h:outputText
			value="#{t.name}" />
	</p:dataList>

	<p:panelGrid style="width:100%" columnClasses="width30,width70"
		columns="2">
		<h:outputLabel value="#{msgs.evok_patient_title}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.domainPatient.patient.surname} #{evokPatientTherapyArchiveBean.patientTherapy.domainPatient.patient.name}" />

		<h:outputLabel value="#{msgs.evok_doctor_title}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.creator.userReference.surname} #{evokPatientTherapyArchiveBean.patientTherapy.creator.userReference.name}" />
		
		<h:outputLabel value="#{msgs.domain_title}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.creator.domain.name}" />	

		<h:outputLabel value="#{msgs.patient_therapy_startDate}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.startDate}">
			<f:converter converterId="dateConverter" />
		</h:outputText>

		<h:outputLabel value="#{msgs.patient_therapy_endDate}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.endDate}">
			<f:converter converterId="dateConverter" />
		</h:outputText>

		<h:outputLabel value="#{msgs.patient_therapy_type}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.type}"
			converter="enumConverter" enumName="TherapyType" />

		<h:outputLabel value="#{msgs.default_status}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.status}"
			converter="enumConverter" enumName="TherapyStatus" />

		<h:outputLabel value="#{msgs.patient_therapy_success}" />
		<h:outputText converter="enumConverter" enumName="TherapySuccess"
			value="#{evokPatientTherapyArchiveBean.patientTherapy.success}" />


		<h:outputLabel value="#{msgs.patient_therapy_payment}" />
		<h:outputText converter="enumConverter" enumName="TherapyPayment"
			value="#{evokPatientTherapyArchiveBean.patientTherapy.payment}" />

		<h:outputLabel value="#{msgs.domain_remark}" />
		<h:outputText
			value="#{evokPatientTherapyArchiveBean.patientTherapy.remarkDoc}" />
	</p:panelGrid>
</h:panelGrid>
